package fr.afcepf.atod19.dreamproject.business.model;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class EntityIntervention {
    private int idIntervention;
    private String adresse;
    private String commentaire;

    public int getIdIntervention() {
        return idIntervention;
    }

    public void setIdIntervention(int idIntervention) {
        this.idIntervention = idIntervention;
    }

    public String getCommentaire() {
        return commentaire;
    }

    public void setCommentaire(String commentaire) {
        this.commentaire = commentaire;
    }

    public String getAdresse() {
        return adresse;
    }

    public void setAdresse(String adresse) {
        this.adresse = adresse;
    }

    @Override
    public String toString() {
        return "EntityIntervention{" +
                "adresse='" + adresse + '\'' +
                ", commentaire='" + commentaire + '\'' +
                '}';
    }
}
